#!/bin/bash

sum=0

for((i=0;i<=100;i++))
do
	sum=$[$sum+$i]
done
echo "和为$sum"

i=0

for i in 1 2 3 
do
	echo "i的值是$i"
done

for i in "$*"
do 
	echo "i的值是$i"
done

for i in "$@"
do
	echo "i的值是$i"
done
